{{--头部内容--}}
<div class="head">
    <div class="wrapper">
        {{--左侧app、微信链接--}}
        <div class="leftLinks">
            <a href="{{mainUrl('mobile_help')}}"><span class="icon_app"></span>APP</a>
            <i class="vline"></i>
            <a href="{{mainUrl('mobile_help?weixin')}}"><span class="icon_wx"></span>微信</a>
        </div>

        {{--登录、注册按钮--}}
        <div class="logAndReg">
            <ul class="userNavCon" id="usernavcon" >
            </ul>
        </div>
    </div>
</div>
{{--头部内容结束--}}
<script type="text/javascript">
            @if (Auth::guard("personal")->check())
    var personal_logininfo_name = "{{ Auth::guard("personal")->user()->username?:Auth::guard("personal")->user()->mobile }}";
            @else
    var personal_logininfo_name = '';
            @endif
            @if (Auth::guard("company")->check())
    var company_logininfo_name = "{{ Auth::guard("company")->user()->username }}";
            @else
    var company_logininfo_name = '';
    @endif

    //分站功能
    var mainAddress = "{{ mainUrl('/') }}";
    function mainUrl(linkUrl){
        return str_trim(mainAddress) + '/' + str_trim(linkUrl);
    }
</script>